package com.ysu.shop;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.Banner;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan("com.ysu.shop.mapper")
@SpringBootApplication
@EnableTransactionManagement
public class WebApp{

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(WebApp.class);
        application.setBannerMode(Banner.Mode.OFF);//关闭
        application.run(args);
    }

}